package com.cqan.core.dao;

import java.io.Serializable;

import com.cqan.core.exception.BasicException;
import com.cqan.core.pojo.DomainObject;

/**
 * @author wuhui
 *
 * 下午03:45:47
 */
public interface IBaseDao extends DataAccessObject {

	 public <T extends DomainObject> T save(DomainObject obj) throws BasicException;

	    public void update(DomainObject obj) throws BasicException;

	    public void delete(DomainObject obj) throws BasicException;
	    
	    public <T extends DomainObject> T loadByUid(Serializable uid)throws BasicException;
}
